package com.example.mall.order.feign;

import com.example.mall.common.utils.R;
import com.example.mall.order.vo.CouponVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient("mall-coupon")
public interface CouponFeignService {

    @RequestMapping("/coupon/coupon/add")
    public R add(@RequestBody CouponVO couponVO);
}
